package cn.inurl.gui;

import java.awt.BorderLayout;

import javax.swing.JComponent;
import javax.swing.JPanel;

import cn.inurl.gui.MaskAdapter;

public class JMaskPanel extends JPanel {
	private static final long serialVersionUID = 1L;
	MaskAdapter maskAdapter;
	public JMaskPanel(JComponent component) {
		maskAdapter = MaskAdapter.getMaskpanel(component, false);
		this.setLayout(new BorderLayout());
		this.add(maskAdapter, BorderLayout.CENTER);
	}
	public MaskAdapter getMaskAdapter() {
		return maskAdapter;
	}
	public void setMaskAdapter(MaskAdapter maskAdapter) {
		this.maskAdapter = maskAdapter;
	}
}
